@extends('home.mainlayout')
@section('content')
    <div></div>
<br />
<div id="biaoti">充值记录</div>
<table style="width:1000px;" class="hongtable"><caption>充值记录</caption>
    <tr><th>状态</th><th>币种</th><th>提交数量</th><th>实际到帐</th><th>提交时间</th><th>锁定代币数量</th><th>基于25%市场浮动增加代币</th></tr>
    @if(!empty($res['data']))
        @foreach($res['data'] as $v)
            <tr>
                <td style="width: 20%">{{$v['state']}}</td>
                <td>@if($v['type']==1)ETH @elseif($v['type']==2) BTC @endif</td>
                <td>{{$v['amount']}}</td>
                <td>{{$v['actual_arrival']}}</td>
                <td>{{$v['created_at']}}</td>
                <td>{{$v['lock_num']}}</td>
                <td>{{$v['market_fluctuation']}}</td>
            </tr>
        @endforeach
       @else
       <tr>
           <td colspan="7">暂无数据</td>
       </tr>
    @endif
</table>
    <div class="page">
        @if(count($res['pageNoList'])>1)
        @foreach($res['pageNoList'] as $v)
            <a href="/manage/rechage-list?page={{$v}}" @if($v==$res['current_page']) class="active" @endif>{{$v}}</a>
        @endforeach
        @endif
    </div>
@endsection